package com.clay.hospital;

import com.clay.appointment.config.Constants;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication(scanBasePackages ={Constants.BASE_PACKAGE})
//@ComponentScan(basePackages = {Constants.BASE_PACKAGE})
@PropertySource(value = "classpath:config.properties", encoding = "UTF-8")
public class HospitalManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(HospitalManageApplication.class, args);
    }

}
